import { ApiProperty } from "@nestjs/swagger";

export class CreateMenuDto {
    @ApiProperty({ required: true })
    menu_name: string;
    @ApiProperty({ required: true })
    parent_id: number;
    @ApiProperty({ required: true })
    order_num: number
    @ApiProperty({ required: true })
    path: string;
    @ApiProperty()
    component: string;
    @ApiProperty()
    query: string;
    @ApiProperty()
    is_frame: number;
    @ApiProperty()
    is_cache: number;
    @ApiProperty()
    menu_type: string;
    @ApiProperty({ required: true })
    visible: number;
    @ApiProperty()
    status: number;
    @ApiProperty()
    perms: string;
    @ApiProperty()
    icon: string;
    @ApiProperty()
    remark: string;
}
